<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript">

	function cik(){
		
		$.ajax({
	        type : 'post',
	        url : 'test/select.do',
	        data : null,
	        dataType : 'json',
	        success : function(data) {
	        	console.log("------返回值-----");
	        	console.log(data);
	        }
	    });
		
	}
	
	function Redis(){
		
		$.ajax({
	        type : 'post',
	        url : 'test/setRedis.do',
	        data : null,
	        dataType : 'json',
	        success : function(data) {
	        	
	        }
	    });
		
	}
	

</script>
<title>Insert title here</title>
</head>
<body>
	<h1>这是测试maven</h1>
	<button onclick="cik()">返回值</button>
	<button onclick="Redis()">测试Redis</button>
	<a href="test/tiao.do">跳转页</a>
</body>
</html>